import request from '@/utils/request'
export function updateScore(data) {
  return request({
    url: '/biz/bizProject/updateScore',
    method: 'post',
    data: data
  })
}
export function updateZg(data) {
  return request({
    url: '/biz/bizProject/updateZg',
    method: 'post',
    data: data
  })
}
export function updateStatus(data) {
  return request({
    url: '/biz/bizProject/updateStatus',
    method: 'post',
    data: data
  })
}
export function listAllProject(query) {
  return request({
    url: '/biz/bizProject/listAll',
    method: 'get',
    params: query
  })
}
// 查询项目信息列表
export function listBizProject(query) {
  return request({
    url: '/biz/bizProject/list',
    method: 'get',
    params: query
  })
}

// 查询项目信息详细
export function getBizProject(id) {
  return request({
    url: '/biz/bizProject/' + id,
    method: 'get'
  })
}

// 新增项目信息
export function addBizProject(data) {
  return request({
    url: '/biz/bizProject',
    method: 'post',
    data: data
  })
}

// 修改项目信息
export function updateBizProject(data) {
  return request({
    url: '/biz/bizProject',
    method: 'put',
    data: data
  })
}

// 删除项目信息
export function delBizProject(id) {
  return request({
    url: '/biz/bizProject/' + id,
    method: 'delete'
  })
}
